package cs342.group1.messenger;

public class Contact
{
	private int fromID;
	private String name;
	
	public Contact(int fromID, String name)
	{
		setFromID(fromID);
		setName(name);
	}
	
	public void setFromID(int fromID)
	{
		this.fromID = fromID;
	}
	
	public void setName(String name)
	{
		this.name = name;
	}
	
	public int getFromID()
	{
		return this.fromID;
	}
	
	public String getName()
	{
		return this.name;
	}
	
	public String toString()
	{
		return this.name;
	}
}
